#ifndef DOCKSTACK_H
#define DOCKSTACK_H

#include "sidebuttonpanel.h"

#include <QWidget>

class ToolButton;
class QStackedWidget;
class QStackedLayout;
class DockStack : public QWidget
{
    Q_OBJECT
public:
    explicit DockStack(SideButtonPanel::Direction direction,
                       QWidget *parent = nullptr);

    SideButtonPanel *sidePanel() const;

signals:

public slots:

protected:
    void paintEvent(QPaintEvent *event) override;

private:
    SideButtonPanel *m_sidePanel;
    ToolButton *m_minimize;
    QStackedWidget *m_titleStack;
    QStackedLayout *m_dockStack;
};

#endif // DOCKSTACK_H
